{config_load file="index.conf"}
{include file="inc/doctype.tpl"}

<head>
    <title>Home</title>
    {include file="inc/include.tpl"}
</head>

<body>

{include file="inc/logo.tpl"}
{include file="inc/global_menu.tpl"}

{if $voted_data.user_avatar}
<img src="{$voted_data.user_path}/{$voting_data.user_avatar}" width="50" border="0" /><br />
Others voted: <strong>{$others_voted}/10</strong><br />
You voted: <strong>{$voted}</strong>
<div>
        <img src="/media/img/design/6.gif" />
        <a href="/another/tetatet/{$voted_data.user_id}/?new=1">Chat</a> with 
        	<a href="/another/profile/{$voted_data.user_id}/">{$voted_data.user_login}</a>
    </div>
{/if}<br />

{if $voting_data.user_avatar}
    <div align="left"><strong>Vote for me!</strong></div>
    <div align="center">
        <img src="{$voting_data.user_path}/{$voting_data.user_avatar}" width="80" border="0" /><br />
    {if $show}{include file="inc/vote.tpl"}{/if}
        <div align="right"><a href="/{$sys_path}/"><img src="/media/img/design/next.jpg" border="0" /></a></div>
    </div>
    <div>
        <img src="/media/img/design/6.gif" />
        <a href="/another/tetatet/{$voting_data.user_id}/?new=1">Chat</a> with <a href="/another/profile/{$voting_data.user_id}/">{$voting_data.user_login}</a>
    </div>
{/if}<br />

{include file="inc/cabinet_menu.tpl"}
<div align="left">
    <ul>
        <li><a href="/home/rooms/">My old chats</a></li>
        <li><a href="/index/terms/">Terms and Conditions</a></li>
        <li><a href="/index/help/">Help</a></li>
    </ul>
</div>

</body>

</html>